from loguru import logger


def setup_logger():
    logger.add(
        "logs/pdf_service.log",
        rotation="10 MB",
        level="INFO",
        format="{time} | {level} | {file}:{line} - {message}"
    )